/**
 * Copyright 2011 Poltman.Ltd; www.poltman.com. All rights reserved.		
 *
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */
package com.poltman.dscentral.db.entity.pm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 
 * @author Zbigniew Ciok; z.ciok@poltman.com
 * @version $Revision: 1694 $
 *
 */
@Entity
@Table(name="pm_main_menu_groups")
public class MainMenuGroupsEntity implements Serializable {
	
	private static final long serialVersionUID = -3280566183372189660L;

	public MainMenuGroupsEntity() {
	}

    @Id
    @SequenceGenerator(name="pm_main_menu_groups_seq", sequenceName="pm_main_menu_groups_seq")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="pm_main_menu_groups_seq") 
    @Column(name="id")
    private Integer id;		
    
    @Column(name="shortcut")
    private String shortcut;
    
    @Column(name="menu_item")
    private String menuItem;
    
    @Column(name="descr")
    private String descr;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getShortcut() {
		return shortcut;
	}
	public void setShortcut(String shortcut) {
		this.shortcut = shortcut;
	}
	
	public String getMenuItem() {
		return menuItem;
	}
	public void setMenuItem(String menuItem) {
		this.menuItem = menuItem;
	}
	
	public String getDescr() {
		return descr;
	}
	public void setDescr(String descr) {
		this.descr = descr;
	}
}
